@import "/src/theme";

.card-text {
  font-size: 90%;
}

.doc-img {
  object-fit: cover;
  object-position: top left;
  height: 175px;
  mix-blend-mode: multiply;
}

.document-card-check {
  display: none;
  position: absolute;
  top: 0;
  left: 0;

  .custom-control {
    margin-left: 4px;
    margin-right: -3px;
  }
}

.document-card:hover .document-card-check {
  display: block;
}

.card-selected {
  border-color: $primary;

  .document-card-check {
    display: block;
  }
}

.doc-img-background-selected {
  background-color: $primaryFaded;
}

.card-info {
  line-height: 1;

  button {
    line-height: 1;

    &:hover,
    &:focus {
      background-color: transparent !important;
      color: $primary;
    }
  }

  .metadata-icon {
    width: 0.9rem;
    height: 0.9rem;
    padding: 0.05rem;
  }
}

.card-footer .btn {
  padding-top: .10rem;
}

::ng-deep .tooltip-inner {
  text-align: left !important;
  font-size: 90%;
}
